<script setup>
import {useDark,useToggle} from "@vueuse/core";
import 'element-plus/theme-chalk/dark/css-vars.css'

useDark({
  selector: 'html',
  attribute: 'class',
  valueDark: 'dark',
  valueLight: 'light',
})

useDark({
  onChanged(dark){
    useToggle(dark)
  }
})

</script>
<template>
  <div>
  <router-view/>
  </div>
</template>
<style scoped>
</style>
